package com.guigu.work.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 运单表
 * </p>
 *
 * @author liAo
 * @since 2021-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pd_transport_order")
@ApiModel(value="TransportOrder对象", description="运单表")
public class TransportOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "运单状态(1.新建 2.已装车 3.到达 4.到达终端网点 5.已签收 6.拒收)")
    private Integer status;

    @ApiModelProperty(value = "调度状态(1.待调度2.未匹配线路3.已调度)")
    private Integer schedulingStatus;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


}
